#include "view_time_23.h"
#include "view_time_23.inc"
#include "view_time_14.h"
#include "view_time_3.h"
#include "view_time_0.h"
#include "display_ctrl.h"
#include "platform_assert.h"
#include "lfs_file_manager_auto.h"
#include "rtc.h"
#include "datetime.h"
#include "blecom.h"
#include "battery_ctrl.h"
#include "sport_his.h"
#include "display_ctrl.h"
#include "display_interface_240x240.h"
#include "datetime.h"
#include "heart_rate_interface.h"
#include "font/num_font.h"
#include "font_mngr.h"
#include "view_common.h"
#include "app_trace.h"
#include "view_times.h"
#include "math.h"
#include "weather_ctrl.h"
#include "health_storage.h"
#include "app_trace.h"
#define LOG(fmt, ...) app_trace_log(fmt "\r\n", ##__VA_ARGS__)
#ifdef TIME_23_SKIP
#else
void view_time_23_time(void)
{
    disp_draw_user_image_filter_color(118, 199, img_time_23_num_colon);
    disp_draw_user_image_filter_color(63, 199, img_time_23_num_TAB[disp_ctrl.com_data.i_temp[3] / 10]);
    disp_draw_user_image_filter_color(89, 199, img_time_23_num_TAB[disp_ctrl.com_data.i_temp[3] % 10]);
    disp_draw_user_image_filter_color(133, 199, img_time_23_num_TAB[disp_ctrl.com_data.i_temp[4] / 10]);
    disp_draw_user_image_filter_color(160, 199, img_time_23_num_TAB[disp_ctrl.com_data.i_temp[4] % 10]);
}

void view_time_23_display(void)
{
    int const temp_index_start = 50;
    disp_show_resource_with_x_y(DISP_LFS_FILE_INDEX_0, localize_resource_key_time_23_back, temp_index_start, -1, -1);
    show_time_0_ble();
    show_time_0_battery(disp_ctrl.com_data.i_temp[7], disp_ctrl.com_data.i_temp[8]);
    view_time_23_time();
}
#endif
